Xbasic
CMTOINCHES Function
Syntax
Inches as N = CmToInches(N cm [,N decimal])
Arguments
- Inches
The inch equivalent of the Centimeters value. Numeric
- cm
The number of centimeters to convert to inches. Numeric
- decimal
Optional. Default = 2. The number of decimal positions to return. Numeric
Description
Convert Centimeters to Inches
Discussion
The CMTOINCHES() function converts a centimeter value to an inch value.
Example
? cmtoinches(10,5) = 3.93701
See Also